# $Id: PKGBUILD 65871 2012-02-22 13:12:39Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-ipc-shareable
pkgver=0.60
pkgrel=5
pkgdesc="Perl/CPAN Module IPC::Shareable : Tie a variable to shared memory"
arch=("any")
url="http://search.cpan.org/dist/IPC-Shareable"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/B/BS/BSUGARS/IPC-Shareable-$pkgver.tar.gz")
md5sums=('51462dabfb4eec81e0b3417a9f9add4e')

build() {
  cd $srcdir/IPC-Shareable-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
